package com.example.springboot.service;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.Notice;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface INoticeService {
    List<Notice> list();

    PageInfo<Notice> page(BaseRequest baseRequest);

    void save(Notice notice);

    Notice getById(Integer id);

    void update(Notice notice);

    void deleteById(Integer id);

}
